home *** CD-ROM | disk | FTP | other *** search
- ## thread_test_01
- # This test consumes 100% of the interpreters CPU cycles, yet the UI is still
- # responsive. This allows testing of the threading model (shutdown via the UI while
- # the interpreter is still busy.)
- {
- -start
-
- -action -print 100
- -action -spin 100
-
- -action -print 1000
- -action -spin 1000
-
- -action -print 10000
- -action -spin 10000
-
- -action -print done!
-
- #-action -inc 0 0 0 1
- }
-